﻿using MiniFox.Infrastructure.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Platform.File.Models
{
    /// <summary>
    /// 
    /// </summary>
    public class FileQuery
    {
        /// <summary>
        /// 
        /// </summary>
        [TargetProperty("Path", Infrastructure.QueryOperation.StartWith)]
        public string Path { get; set; } = "/";
        /// <summary>
        /// 
        /// </summary>
        [TargetProperty("FileName", MiniFox.Infrastructure.QueryOperation.Contain)]
        public string Keyword { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string[] FileTypes { get; set; }
    }
}
